import { Form, Input } from "antd";

const FirstUrlItem = () => {
    return <Form.Item
            label="第一章地址"
            name="firstUrl"
            initialValue='https://www.runxin333.com/book/EFITRU/OOROFCE_4.htm'
            rules={[
                {
                    required: true,
                    message: 'url不能为空！',
                    validateTrigger: "onSubmit"
                },
                {
                    type: 'url',
                    message: 'url格式错误！',
                    validateTrigger: "onSubmit"
                },
            ]}
        >
            <Input style={{ minWidth: 360 }} />
        </Form.Item>
}

export default FirstUrlItem;